home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Essential Home & Business Collection
/
The Essential Home & Business Collection.iso
/
27
/
3
/
5
/
HP22D5.ZIP
/
EXTERN
/
IO
/
CREATE.ASM
< prev
next >
Wrap
Assembly Source File
|
1991-04-16
|
497b
|
38 lines
DOSSEG
.MODEL LARGE
.DATA
.CODE
; ---------------------------------------------------------------------------
; int create(FileName);
; ---------------------------------------------------------------------------
public _create
_create proc far
push bp
mov bp,sp
push ds
mov ah,03ch
xor cx,cx
lds dx,[bp+6]
int 21h
jnc end_create
mov ax,-1 ;error return
end_create:
pop ds
pop bp
retf
_create endp
END